package show.marvelous.domain.chessgame.aggregate.entity;

import lombok.Data;
import org.jilt.Builder;
import org.jilt.BuilderStyle;
import show.marvelous.domain.chessgame.constans.AirPlanColorEnum;
import show.marvelous.domain.chessgame.constans.MoveTypeEnum;
import show.marvelous.domain.chessgame.constans.PieceEnum;

/**
 * The type Move event.
 * @author Kris  2021/8/17
 */
@Data
@Builder(style = BuilderStyle.TYPE_SAFE)
public class MoveEvent{

    private final Long id;
    private final MoveTypeEnum type;
    private final PieceEnum piece;
    private final AirPlanColorEnum positionColor;
    private final Integer positionIndex;
}
